package collection;

import java.util.Comparator;
import java.util.PriorityQueue;

public class QueueTest {

    public static void main(String[] args) {
        PriorityQueue queue = new PriorityQueue(Comparator.comparing(Integer::intValue).reversed());
        queue.add(1);
        queue.add(3);
        queue.add(4);

    }
}
